package com.example.gty.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ExcelTarget("分数")
public class Grade implements Serializable {
    @Column(name = "SNO")
    private String sno;

    @Column(name = "CNO")
    private String cno;

    @Excel(name = "成绩")
    @Column(name = "SCORE")
    private Integer score;

    @Column(name = "CREATE_TIME")
    private Date createTime;

    /**
     * @return SNO
     */
    public String getSno() {
        return sno;
    }

    /**
     * @param sno
     */
    public void setSno(String sno) {
        this.sno = sno;
    }

    /**
     * @return CNO
     */
    public String getCno() {
        return cno;
    }

    /**
     * @param cno
     */
    public void setCno(String cno) {
        this.cno = cno;
    }

    /**
     * @return SCORE
     */
    public Integer getScore() {
        return score;
    }

    /**
     * @param score
     */
    public void setScore(Integer score) {
        this.score = score;
    }

    /**
     * @return CREATE_TIME
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}